<%= render :partial => 'messages' %>

<% unless @member.nil? %>
<%= error_messages_for 'member' %>
<% end %>